package com.mnxc.gxa.mapper;

import com.mnxc.gxa.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mnxc.gxa.entity.User;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author mnxc
 * @since 2023-06-29
 */
public interface RoleMapper extends BaseMapper<Role> {
    List<Role> getAll();

    boolean freezeRole(Role role);

    boolean activeRole(Role role);

    boolean deleteRole(Role role);
    void mulDelete(List<Long> ids);
    void mulActive(List<Long> ids);
    void mulFreeze(List<Long> ids);
}
